DPWorkerThread now sets up a coroutine stack.
[hom.git] / Tests / Speed Tests / DPMessageCreation.m
blob709c2fef7b147601ea9a1b1d450569caf8190ff8
1 //
2 //  DPMessageCreation.m
3 //  HigherOrderMessaging
4 //
5 //  Created by Ofri Wolfus on 09/05/07.
6 //  Copyright 2007 Ofri Wolfus. All rights reserved.
7 //
9 #import "DPMessageCreation.h"
10 #import <HigherOrderMessaging/DPMessage.h>
13 @implementation DPMessageCreation
15 - (unsigned)numberOfIterations {
16         return 1000000;
17         //return UINT_MAX;
20 - (BOOL)testMessageCreation {
21         return MSG(hasPrefix:@"a") != nil;
24 - (void)doNothing {
27 - (BOOL)testNormalMessage {
28         [self doNothing];
29         return YES;
32 @end